
"use strict";

angular.module('app.configService', ['ui.router'])
.config(function ($stateProvider,ACCESS_LEVELS) {

    $stateProvider

         .state('app.configService', {
            abstract: true,
           
            views: {
                 
             "content@app": {
                    templateUrl: 'app/config-service/views/signal.html'
               }    
            },
            data: {
                title: '配置',
                level: "level_1"
            }
        })
        .state('app.configService.signal', {
            url: '/configSignalS',
            views: {
                "content@app": {
                    templateUrl: 'app/config-service/views/signal.html',
                    controller: 'SignalCtrl'

                }
            },
            data:{
                title: '配置服务器',
                level: "level_1"
            }
        })

       .state('app.configService.system', {
            url: '/configSystem',
            views: {
                "content@app": {
                    templateUrl: 'app/config-service/views/system.html',
                    controller: 'SystemCtrl'

                }
            },
            data:{
                title: '系统配置',
                level: "level_1"
            }
       })
      
});


